<template>
	<view>
		<view class="work">
			<view class="title">
				<view class="name">
					作业标题
				</view>
				<uv-input placeholder="04月14日学习计划" border="none" v-model="name" fontSize="28rpx"></uv-input>
			</view>
			<view class="content">
				<uv-textarea v-model="textarea" border="none" height="360rpx" :textStyle="{fontSize: '28rpx'}"
					placeholder="请输入作业内容" style="padding:0"></uv-textarea>
			</view>
		</view>

		<view class="footer_btn">
			<view class="btn_white">
				取消
			</view>
			<view class="btn_org">
				布置
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: '',
				textarea: ''
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.footer_btn {
		position: fixed;
		left: 0;
		bottom: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 40rpx;

		.btn_white {
			width: 320rpx;
			height: 84rpx;
			line-height: 84rpx;
			text-align: center;
			background: #FFFFFF;
			box-sizing: border-box;
			border: 2rpx solid #FF8535;
			font-size: 28rpx;
			color: #FF8535;
			border-radius: 8rpx;
		}

		.btn_org {
			width: 320rpx;
			height: 84rpx;
			line-height: 84rpx;
			text-align: center;
			background: #FF8535;
			color: #fff;
			font-size: 28rpx;
			border-radius: 8rpx;
		}
	}

	.work {
		background: #fff;

		.content {
			padding: 25rpx 40rpx;
		}

		.title {
			height: 100rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 40rpx;
			border-bottom: 1px solid rgba(230, 229, 231, 0.8);

			.name {
				flex-shrink: 0;
				font-size: 28rpx;
				font-weight: 500;
				line-height: 38rpx;
				margin-right: 60rpx;
			}
		}
	}
</style>